package com.gxp.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gxp.common.annotation.Excel;
import com.gxp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 审计对象 zknj_approve
 * 
 * @author zh
 * @date 2024-10-08
 */
@Deprecated
public class ZknjApprove extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long approveId;

    /** 审核条目 */
    @Excel(name = "审核条目")
    private String item;

    /** 审核类别 */
    @Excel(name = "审核类别")
    private String type;

    /** 状态 */
    @Excel(name = "状态")
    private Long aprStatus;

    /** 审核人 */
    @Excel(name = "审核人")
    private String approveBy;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approveTime;

    /** 意见 */
    @Excel(name = "意见")
    private String comment;

    /** 详细 */
    @Excel(name = "详细")
    private String detail;

    public void setApproveId(Long approveId) 
    {
        this.approveId = approveId;
    }

    public Long getApproveId() 
    {
        return approveId;
    }
    public void setItem(String item) 
    {
        this.item = item;
    }

    public String getItem() 
    {
        return item;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setAprStatus(Long aprStatus) 
    {
        this.aprStatus = aprStatus;
    }

    public Long getAprStatus() 
    {
        return aprStatus;
    }
    public void setApproveBy(String approveBy) 
    {
        this.approveBy = approveBy;
    }

    public String getApproveBy() 
    {
        return approveBy;
    }
    public void setApproveTime(Date approveTime) 
    {
        this.approveTime = approveTime;
    }

    public Date getApproveTime() 
    {
        return approveTime;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("approveId", getApproveId())
            .append("item", getItem())
            .append("type", getType())
            .append("aprStatus", getAprStatus())
            .append("approveBy", getApproveBy())
            .append("approveTime", getApproveTime())
            .append("comment", getComment())
            .append("detail", getDetail())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
